﻿using System;

namespace Accona.Remoting.Remoting
{
    public class NoAvalibleServiceException : Exception
    {
        private readonly Type declaringType;

        public NoAvalibleServiceException(Type declaringType)
        {
            this.declaringType = declaringType;
        }

        public Type DeclaringType
        {
            get { return declaringType; }
        }
    }
}